package com.tenton.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Date: 2021/1/2
 * @Author: Tenton
 * @Description: Employee实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "商品类型对象", description = "")
public class Employees implements Serializable {
    @ApiModelProperty(value = "主键")
    private int id;
    @ApiModelProperty(value = "员工姓名")
    private String empName;
    @ApiModelProperty(value = "身份证")
    private String idCard;
    @ApiModelProperty(value = "性别")
    private String sex;
    @ApiModelProperty(value = "电话")
    private String tel;
    @ApiModelProperty(value = "员工类型")
    private String empType;
    @ApiModelProperty(value = "密码")
    private String pwd;
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @ApiModelProperty(value = "修改人姓名")
    private String updateName;
    @ApiModelProperty(value = "修改日期")
    private Date updateTime;

    public Employees(String empName, String idCard, String sex, String tel, String empType, String pwd, String createName, Date createTime, String updateName, Date updateTime) {
        this.empName = empName;
        this.idCard = idCard;
        this.sex = sex;
        this.tel = tel;
        this.empType = empType;
        this.pwd = pwd;
        this.createName = createName;
        this.createTime = createTime;
        this.updateName = updateName;
        this.updateTime = updateTime;
    }
}